//
//  PlayerViewController.h
//  海角音乐
//
//  Created by dllo on 15/8/12.
//  Copyright (c) 2015年 杨元石. All rights reserved.
//

#import "BaseViewController.h"
#import "ReDetailModel.h"
#import "SinglePlayer.h"
#import "AudioPlayerView.h"
#import "DanLiPlayer.h"
#import "MBProgressHUD.h"


typedef NS_ENUM(NSInteger, PlayWithWay)
{
    PlayWithWayOneSongCirculation = 0,  //单曲
    PlayWithWayRandom,   //随机
    PlayWithWaySole   // 顺序
};

@interface PlayerViewController : BaseViewController
{
    AudioPlayerView *audioPlayer;
    STKAudioPlayer *Player;
    DanLiPlayer *BarPlayer;
    MBProgressHUD *HUD;
    NSInteger _count;
}

+ (PlayerViewController *)shareHandleViewController;

@property (nonatomic, assign) PlayWithWay playWays;
@property (nonatomic, retain) ReDetailModel *reDetailModel;
@property (nonatomic, retain) NSMutableArray *dataArr;
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, retain) NSIndexPath *Path;
@property (nonatomic, assign) BOOL isFlag;





@end
